@extends('base')
@section('content')
<!---banner 结束---->
<div class="mainBox">
    <div class="menuBox">
        <div class="menu bb">
            <h2 class="menu_tit">最新通告</h2>
            <dl>
                <dd class="current1">
                    <a href="{{url('/news')}}">最新通告</a>
                </dd>
                <dd class="">
                    <a href="{{url('/news/com')}}">公司新闻</a>
                </dd>
                <dd class="">
                    <a href="{{url('/news/trade')}}">行业新闻</a>
                </dd>
            </dl>
        </div>
        <div class="menuRight">
            <div class="subNav">
                <a href="{{url('/index')}}">首页</a> &gt;
                <a href="#">最新通告</a> &gt;
                <a href="#" class="current">公司新闻</a>
            </div>
            <div class="abuotBox">
                <div class="showtext" class="z">
                    @foreach($data as $key=>$item)
                        <?php $model=json_decode($item->content)?>
                    <h1 class="showtext_h2">{{$model->title}}</h1>
                    <p class="showtext_p">{{substr( $item->created_at, 0, 10)}}</p>
                    <div class="showtext_con">
                        <div style="text-align: center;">&nbsp;</div>

                        <div style="text-align: center;">&nbsp;</div>
                        <p>{!! $model->content !!}</p>
                        <p style="text-align: center;"><img src="{{asset('img/news-'.$model->pic.'/1000-666')}}"></p>
                    </div>
                        @endforeach
                </div>
            </div>
        </div>
    </div>
</div>
@stop